<script type="text/javascript">
	var contextPath = "${request.contextPath}"; //base url
	var restRoot = contextPath + "/rest";
	var ngjsRoot = "${ngjsRoot}";//angularjs root path
	var ngappRoot = contextPath + "/ng-apps";
	var webRscRoot = "${webRscRoot}";//
	var env = "${envName}";
	var fileDownloadRoot = "${fileDownloadRoot}";
	var isRunning = 0;//用于记录ajax请求数
	var lastActiveTime = new Date(); //用于记录最后活动时间
	var calLang = <@sp.message code='calendar.labels'/>;
	var langMap = {
	}
	if (!window.console) {
		var names = [ "log", "debug", "info", "warn", "error", "assert", "dir", "dirxml", "group", "groupEnd", "time", "timeEnd", "count",
		        "trace", "profile", "profileEnd" ];

		window.console = {};
		for (var i = 0; i < names.length; ++i)
			window.console[names[i]] = function(msg) {
			}
	}
</script>
<!-- Polyfills for older browsers -->
<script src="${ngjsRoot}/core-js/client/shim.min.js"></script>
<script src="${ngjsRoot}/zone.js/dist/zone.js"></script>
<script src="${ngjsRoot}/reflect-metadata/Reflect.js"></script>
<script src="${ngjsRoot}/systemjs/dist/system.src.js"></script>
<link rel="stylesheet" type="text/css" href="${webRscRoot}/assets/static/font-awesome/css/font-awesome.css"/>
<link rel="stylesheet" type="text/css" href="${webRscRoot}/assets/static/iisp/css/iisp.css"/>
<link rel="stylesheet" type="text/css" href="${webRscRoot}/assets/static/layout/css/layout.css"/>
<link rel="stylesheet" type="text/css" href="${webRscRoot}/assets/static/cgd-web/css/base/base.css"/>
<link rel="stylesheet" type="text/css" href="${webRscRoot}/assets/static/cgd-web/css/main/main.css"/>
<link rel="stylesheet" type="text/css" href="${ngjsRoot}/primeng/resources/themes/omega/theme.css" />
<link rel="stylesheet" type="text/css" href="${ngjsRoot}/primeng/resources/primeng.min.css" />
<base href="${request.contextPath}"/>
